﻿<%@ page language="java" pageEncoding="UTF-8"%>

<%
	String path=request.getContextPath();
  	String online=request.getSession().getServletContext().getAttribute("online").toString();
  	String all=request.getSession().getServletContext().getAttribute("all").toString();
  	String today=request.getSession().getServletContext().getAttribute("today").toString();
%>

<script type="text/javascript" src="<%=path%>/js/statistic.js"></script>

<style>
<!--
.tongzhi{position:relative; width:900px; height:23px; margin-top:-30px; overflow:hidden;}
.tongji{float:left; position:absolute; top:2px; left:25px;}
.marq{flaot:left; position:absolute; top:2px; right:0px; width:600px;}
#globallink{
	margin:0px; padding:0px; background:url(<%=path%>/images/menu_bg.jpg) repeat-x; background-position:top 3px;width:900px; height:60px;
}
#globallink ul{
    list-style:none;
	padding:0px; margin:0px;
}
#globallink li{
	float:left; 
	font-size:16px;
	text-align:center;
	width:78px;	
}
#globallink a{
	display:block;
	padding:7px 6px 11px 6px;
	background:url(<%=path%>/images/menu.jpg) no-repeat;
	margin:0px;
}
#globallink a:link, #globallink a:visited{
	color:#004a87;
	text-decoration:none;
}
#globallink a:hover{
	color:#FFFFFF;
	text-decoration:underline;
	background:url(<%=path%>/images/menubg.jpg) no-repeat;
}
-->
</style>
<div id="header">
	<div class="searchbox">
		<form action="<%=path%>/index/search.action" method="get" name="pageForm">
			<div class="searchtxt">		
				<input name="keyword" type="text" class="insrhtxt" id="srhtxt" onclick="this.style.color='#000';if(this.value=='搜索:类别,片名') this.value='';" value="搜索:类别,片名" maxLength="20"/>
		  </div>
			<div class="searchbtn">
				<input type="button" id="srhbtn"  class="insrhbtn"  onclick="javascrip:pageForm.submit();"/>
			</div>
		</form>
		</div>
	</div>
	
	<div id="globallink">
	  <ul>
		<li><a href="<%=path%>/index/init.action">首页</a></li>
		<li><a href="<%=path%>/sub.action?typeid=1">电影</a></li>
		<li><a href="<%=path%>/sub.action?typeid=2">电视剧</a></li>
		<li><a href="<%=path%>/sub.action?typeid=3">卡通</a></li>
		<li><a href="<%=path%>/sub.action?typeid=4">学习</a></li>
		<li><a href="<%=path%>/sub.action?typeid=5">综艺</a></li>
		<li><a href="<%=path%>/sub.action?typeid=0">全部</a></li>
		
	  </ul>
	  	
	</div>
	<div class="tongzhi">
		<span id="statistic" class="tongji">  在线人数：-- 今日访问次数：-- 总访问次数：--</span>
		<marquee scrolldelay="150" onmouseover="this.stop()" onmouseout="this.start()" class="marq">
			影视天地新网站,测试中,请多使用搜索功能寻找你要看的视频，可以输入视频名字，演员，类别进行搜索。<font color=red>最新推荐</font>:<a href="http://202.192.72.65:3319/ystd/index/detail.action?album.albumid=10134">美人心计</a>，如果你希望我们更新什么视频，请到<a href="http://bbs.gdin.edu.cn/index.asp?boardid=76" >校园网影视交流论坛</a>发帖。
			如果访问不了此网站，你还可以尝试访问我们的备份网站<a href="http://202.192.72.60:8080/ystd/index/init.action">影视天地</a>
 		</marquee>
	</div>